from document import Document as _Document

def __getattr__(name):
	return getattr(_doc, name)

def __setattr__(key, val):
	setattr(_doc, key, val)

def storeConfig():
	_doc.store()

_doc = _Document('../programdata/config.json')